package com.glory.dgcpcpda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class EdcEntity implements Serializable {

    private String LOTID;
    private String BATCHID;
    private String PARTNAME;
    private String STEPNAME;
    private int DAWBQTY;
    private int TOTALQTY;
    private int SAMPLEQTY;
    private List<EdcSet> EDCSETLIST;
    private List<EdcSet> LOTLIST;
    private String MSG;
    private String SBLFLAG;

    public String getSBLFLAG() {
        return SBLFLAG == null ? "" : SBLFLAG;
    }

    public void setSBLFLAG(String SBLFLAG) {
        this.SBLFLAG = SBLFLAG;
    }

    public String getMSG() {
        return MSG == null ? "" : MSG;
    }

    public void setMSG(String MSG) {
        this.MSG = MSG;
    }

    public int getSAMPLEQTY() {
        return SAMPLEQTY;
    }

    public void setSAMPLEQTY(int SAMPLEQTY) {
        this.SAMPLEQTY = SAMPLEQTY;
    }

    public int getTOTALQTY() {
        return TOTALQTY;
    }

    public void setTOTALQTY(int TOTALQTY) {
        this.TOTALQTY = TOTALQTY;
    }

    public List<EdcSet> getLOTLIST() {
        if (LOTLIST == null) {
            return new ArrayList<>();
        }
        return LOTLIST;
    }

    public void setLOTLIST(List<EdcSet> LOTLIST) {
        this.LOTLIST = LOTLIST;
    }

    public int getDAWBQTY() {
        return DAWBQTY;
    }

    public void setDAWBQTY(int DAWBQTY) {
        this.DAWBQTY = DAWBQTY;
    }

    public String getLOTID() {
        return LOTID == null ? "" : LOTID;
    }

    public void setLOTID(String LOTID) {
        this.LOTID = LOTID;
    }

    public String getBATCHID() {
        return BATCHID == null ? "" : BATCHID;
    }

    public void setBATCHID(String BATCHID) {
        this.BATCHID = BATCHID;
    }

    public String getPARTNAME() {
        return PARTNAME == null ? "" : PARTNAME;
    }

    public void setPARTNAME(String PARTNAME) {
        this.PARTNAME = PARTNAME;
    }

    public String getSTEPNAME() {
        return STEPNAME == null ? "" : STEPNAME;
    }

    public void setSTEPNAME(String STEPNAME) {
        this.STEPNAME = STEPNAME;
    }

    public List<EdcSet> getEDCSETLIST() {
        if (EDCSETLIST == null) {
            return new ArrayList<>();
        }
        return EDCSETLIST;
    }

    public void setEDCSETLIST(List<EdcSet> EDCSETLIST) {
        this.EDCSETLIST = EDCSETLIST;
    }

    public static class EdcSet implements Serializable{
        private String EDCSETNAME;
        private String EDCSETDESCRIPTION;
        private String EDCTYPE;
        private String LOTID;
        private String MAINQTY;
        private int SUBQTY;
        private List<EdcSetBinEntity> EDCSETBINLINELIST;

        public int getSUBQTY() {
            return SUBQTY;
        }

        public void setSUBQTY(int SUBQTY) {
            this.SUBQTY = SUBQTY;
        }

        public String getLOTID() {
            return LOTID == null ? "" : LOTID;
        }

        public void setLOTID(String LOTID) {
            this.LOTID = LOTID;
        }

        public String getMAINQTY() {
            return MAINQTY == null ? "" : MAINQTY;
        }

        public void setMAINQTY(String MAINQTY) {
            this.MAINQTY = MAINQTY;
        }

        public String getEDCSETNAME() {
            return EDCSETNAME == null ? "" : EDCSETNAME;
        }

        public void setEDCSETNAME(String EDCSETNAME) {
            this.EDCSETNAME = EDCSETNAME;
        }

        public String getEDCSETDESCRIPTION() {
            return EDCSETDESCRIPTION == null ? "" : EDCSETDESCRIPTION;
        }

        public void setEDCSETDESCRIPTION(String EDCSETDESCRIPTION) {
            this.EDCSETDESCRIPTION = EDCSETDESCRIPTION;
        }

        public String getEDCTYPE() {
            return EDCTYPE == null ? "" : EDCTYPE;
        }

        public void setEDCTYPE(String EDCTYPE) {
            this.EDCTYPE = EDCTYPE;
        }

        public List<EdcSetBinEntity> getEDCSETITEMLINELIST() {
            if (EDCSETBINLINELIST == null) {
                return new ArrayList<>();
            }
            return EDCSETBINLINELIST;
        }

        public void setEDCSETITEMLINELIST(List<EdcSetBinEntity> EDCSETITEMLINELIST) {
            this.EDCSETBINLINELIST = EDCSETITEMLINELIST;
        }
    }
}
